export default {
  methods: {
    openForm: function () {
      const me = this
      me.form = Object.assign(me.form, me.defaultData)
      setTimeout(function () {
        me.restForm()
      })
    },
    restForm: function () {
      this.$refs['form'].resetFields()
    }
  },

}
